<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="/WEB-INF/c.tld" %>
<c:if test="${result=='success'}">
	${message}
</c:if>
<c:if test="${result=='error'}">
<form action="${contextPath }/user/password/update.do" method="post">
<table width="50%">
<caption>修改密码</caption>
	<tr><td colspan="2"><font color="red">${message }</font></td></tr>
	<tr>
		<td>请输入旧密码：</td><td><input type="password" name="pold" value=""/></td>
	</tr>
	<tr>
		<td>请输入新密码：</td><td><input type="password" name="pnew1" value=""/></td>
	</tr>
	<tr>
		<td>请再输入一次新密码：</td><td><input type="password" name="pnew2" value=""/></td>
	</tr>
	<tr>
		<td><button type="submit">修改</button></td><td></td>
	</tr>
</table>
</form>
</c:if>